function result = trial_sort(coords,num)
% A "trial" of the clustering algorithm. Basically this is how a skeleton of the 
% final function will look like.
% coords is a 3D array with the elements that need to be clustered. In our case
% it's the different data from the XML files.
% num is the number of clusters that need to be calculated.
% result will be a 1-D array that simply shows the cluster each element in coords belongs
% to after the clustering is complete.
% We'll count cluster numbers from 1.


temp = 1; 					% a seed value
result = 1:length(coords); 	% creating the array

for i = 1:length(coords)
	result(i) = temp;   	% assign a dummy cluster
	temp = temp + 1;  		% change to next cluster
	if(temp > num)
		temp = 1;			% reset the "clustering"
	end
end
